﻿using System;
using System.Collections.Generic;
using System.Text;
using IDAL.RF.Repair;
using Model.RF.Repair;

namespace BLL.RF.Repair
{
    public class RepairRoute
    {
        private static readonly IRepairRoute dal = DALFactory.DataAccess.CreateRepairRoute();

        public RepairRouteInfo RepairRoute_GetbyID(int id)
        {
            return dal.LoadEntity(id);
        }

        public IList<RepairRouteInfo> RepairRoute_Get()
        {
            return dal.LoadEntities();
        }

        public IList<RepairRouteInfo> RepairRoute_GetbyStepItem(string stepItem)
        {
            return dal.RepairRoute_GetbyStepItem(stepItem);
        }
    }
}
